package com.lap.auth.adapter.driving.persistence.dict.mapper;

import com.lap.auth.adapter.driving.persistence.dict.po.DictPo;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface DictMapper {

  void insertBatch(List<DictPo> list);

  int deleteByDictTypeCode(String dictTypeCode);

  List<DictPo> selectByDictTypeCode(String dictTypeCode);

  List<DictPo> selectByDictCode(
      @Param("dictTypeCodes") List<String> dictTypeCodes, @Param("lang") String lang);
}
